<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
  <title>失败跳转</title>
	<link rel="stylesheet" href="/backstages/style/css/ch-ui.admin.css">
	<link rel="stylesheet" href="/backstages/style/font/css/font-awesome.min.css">
  <script type="text/javascript" src="/backstages/style/js/jquery-1.8.3.min.js" ></script>
</head>
<style type="text/css">
  .fa{color: #000;}
</style>
<body>
<div class="tips" style="background: #fcf8e3;margin-top:20%;text-align: center;" >
  <h3 style="color:red"><i class="fa fa-times-circle"></i>{{$error['message']}}</h3>
  <p style="margin-top:0.7%;color:#999999;">该页面将在<span id="spanWait">3</span>秒后自动跳转,或者点击<a href="javascript:void(0);" onclick="history.go(-1)">返回</a></p>
</div>
<script type="text/javascript">
  function Jump(){
    history.go(-1);
  }
  var waitTime = 3;//parseInt("{{ time() }}");
  if(waitTime >= 0){
    document.onload = setTimeout("Jump()" , waitTime* 1000);
  }
  if(waitTime>0){
    var wi = setInterval(function(){
      document.getElementById("spanWait").innerText = --waitTime;
      if(waitTime == 0)clearInterval(wi);
    }, 1000);
  }
</script>
</body>
</html>